<template>
  <div class="navigation">
    <el-menu mode="horizontal" router style="width: 100%">
      <el-menu-item index="/home/book/a">购物车</el-menu-item>
      <el-menu-item index="/home/book/b">待办事项</el-menu-item>
    </el-menu>
  </div>
  <div class="content">
    <RouterView />
  </div>
</template>
<style scoped>
.navigation {
  display: flex;
  height: 60px;
  gap: 16px;
}
.content {
  flex: 1;
  width: 100%;
  height: 100%;
}
</style>
